<me:UIAPFOLGE x:Class="WPFExcelReport.TUIAP43"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"  
                     xmlns:LS="clr-namespace:WPFExcelReport;assembly=TLIEFDAT"   
                     xmlns:DR="clr-namespace:WPFExcelReport;assembly=TDRAUFTR"  
                    xmlns:KS="clr-namespace:WPFExcelReport;assembly=TKSTSTELL" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    xmlns:OP="clr-namespace:WPFExcelReport;assembly=TKSTAGZUO"   
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIAPFOLGE.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToJNConverter x:Key="bjn"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter  x:Key="nbv"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:SDKEYCONV x:Key="sd"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIAPFOLGE.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="Auto"/> 
        </Grid.ColumnDefinitions>
        <StackPanel  Grid.Row="0"  Grid.Column="0">
            <WrapPanel >
                <TextBlock   Text="{Binding Source={Localization:Translate Word=设置组:}}"/>
                <SD:K9319 Margin="10,0,0,0"
                    KEY="{Binding APFRZUSA,ElementName=TV}"  
                           IsBTNInfo="False"
                            ORDERNUM="{Binding APFRZUSA,ElementName=TV}"  
                          IsEdit="{Binding IsEdit,ElementName=TV}"/>
                <TextBlock   Text="{Binding Source={Localization:Translate Word=(整理方式)}}"/> 
                <WrapPanel>
                    <SD:K0275 Margin="10,0,0,0" KEY="{Binding APFRUESTGRP,ElementName=TV}" GotFocus="SD_GotFocus"
                               IsBTNInfo="False" 
                          IsEdit="{Binding IsEdit,ElementName=TV}" 
                              Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"/>
                    <CheckBox IsChecked="{Binding APFNEGRGRP,ElementName=TV,Converter={StaticResource bjn}}"/>                     
                </WrapPanel>
             
            </WrapPanel>
            <WrapPanel>
                <ex:TXT72  Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFRUESTGRP1}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFRUESTGRP2}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFRUESTGRP3}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFRUESTGRP4}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFRUESTGRP5}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            </WrapPanel>
        </StackPanel>
    

        <WrapPanel   Grid.Row="0"  Grid.Column="1">
            <TextBlock Text="{Binding Source={Localization:Translate Word=颜色组:}}"/>
            <WrapPanel>
                <SD:K0460 Margin="10,0,0,0" KEY="{Binding APFFBKL,ElementName=TV}" GotFocus="SD_GotFocus" 
                          IsBTNInfo="False"
                          Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                <CheckBox IsChecked="{Binding APFNEGFBKL,ElementName=TV,Converter={StaticResource bjn}}"/> 
            </WrapPanel>

            <ex:TXT72  Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFFBKL1}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFFBKL2}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFFBKL3}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFFBKL4}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFFBKL5}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
        </WrapPanel>
        <WrapPanel  Grid.Row="1"  Grid.Column="0">
            <TextBlock Text="{Binding Source={Localization:Translate Word=材质:}}"/>
            <WrapPanel>
                <SD:K0457 Margin="10,0,0,0" KEY="{Binding APFSUBSTGR,ElementName=TV}" GotFocus="SD_GotFocus"
                           IsBTNInfo="False"
                          Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                <CheckBox IsChecked="{Binding APFNEGSUBST,ElementName=TV,Converter={StaticResource bjn}}"/> 
                
            </WrapPanel>

            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFSUBSTGR1}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFSUBSTGR2}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFSUBSTGR3}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFSUBSTGR4}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFSUBSTGR5}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
        </WrapPanel>
        <WrapPanel  Grid.Row="1"  Grid.Column="1">
            <TextBlock Text="{Binding Source={Localization:Translate Word=克重:}}"/>
            <SD:K0413 Margin="10,0,0,0" Visibility="Collapsed"
                       IsBTNInfo="False"
                    KEY="{Binding APFGEWSCHL,ElementName=TV}"  
                          LMS="RQ;" GotFocus="SD_GotFocus"
                            ORDERNUM="{Binding APFGEWSCHL,ElementName=TV}"  
                          IsEdit="{Binding IsEdit,ElementName=TV}"/>
            <WrapPanel>
                <SD:K0665 Margin="10,0,0,0" KEY="{Binding APFGEW,ElementName=TV}" 
                           IsBTNInfo="False"
                            GotFocus="SD_GotFocus"
                          Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                <CheckBox IsChecked="{Binding APFNEGGEW,ElementName=TV,Converter={StaticResource bjn}}"/> 
                
            </WrapPanel>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFGEW1}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFGEW2}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
          
        </WrapPanel>
        <WrapPanel  Grid.Row="2"  Grid.Column="0">
            <TextBlock Text="{Binding Source={Localization:Translate Word=经密:}}"/>
            <WrapPanel>
                <SD:K0453 Margin="10,0,0,0" KEY="{Binding APFBHDLG,ElementName=TV}" 
                              GotFocus="SD_GotFocus"
                           IsBTNInfo="False"
                          INFO="经密:"
                          Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                <CheckBox IsChecked="{Binding APFNEGBHDLG,ElementName=TV,Converter={StaticResource bjn}}"/> 
            </WrapPanel>

            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFBHDLG1}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFBHDLG2}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFBHDLG3}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFBHDLG4}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFBHDLG5}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40"  Visibility="Collapsed"/>

        </WrapPanel>
        <WrapPanel  Grid.Row="2"  Grid.Column="1">
            <TextBlock Text="{Binding Source={Localization:Translate Word=长短纤维:}}"/>
            <WrapPanel>
                <SD:K0455 Margin="10,0,0,0" KEY="{Binding APFBHDLG2,ElementName=TV}" 
                          INFO="长短纤维:"  GotFocus="SD_GotFocus"
                           IsBTNInfo="False"
                          Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                <CheckBox IsChecked="{Binding APFNEGBHDLG2,ElementName=TV,Converter={StaticResource bjn}}"/> 
            </WrapPanel>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFBHDLG21}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFBHDLG22}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFBHDLG23}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFBHDLG24}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFBHDLG25}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
           
        </WrapPanel>
        <WrapPanel  Grid.Row="3"  Grid.Column="0">
            <TextBlock Text="{Binding Source={Localization:Translate Word=组织:}}"/>
            <WrapPanel>
                <SD:K0450 Margin="10,0,0,0" KEY="{Binding APFBHDLG3,ElementName=TV}" 
                          INFO="组织:" GotFocus="SD_GotFocus"
                           IsBTNInfo="False"
                          Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  /> 
                <CheckBox IsChecked="{Binding APFNEGBHDLG3,ElementName=TV,Converter={StaticResource bjn}}"/> 
                
            </WrapPanel>

            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFBHDLG31}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFBHDLG32}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFBHDLG33}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFBHDLG34}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFBHDLG35}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
        </WrapPanel>
        <WrapPanel  Grid.Row="3"  Grid.Column="1">
            <TextBlock Text="{Binding Source={Localization:Translate Word=上浆:}}"/>
            <WrapPanel>
                <SD:K0458 Margin="10,0,0,0" KEY="{Binding APFBHDLG4,ElementName=TV}" 
                          INFO="上浆:" GotFocus="SD_GotFocus"
                           IsBTNInfo="False"
                          Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                <CheckBox IsChecked="{Binding APFNEGBHDLG4,ElementName=TV,Converter={StaticResource bjn}}"/> 
               
            </WrapPanel>

            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFBHDLG41}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFBHDLG42}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFBHDLG43}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFBHDLG44}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFBHDLG45}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
           
        </WrapPanel>
        <WrapPanel  Grid.Row="4"  Grid.Column="0">
            <TextBlock Text="{Binding Source={Localization:Translate Word=经向紧度:}}"/>
            <WrapPanel>
                <SD:K0674  Margin="10,0,0,0" KEY="{Binding APFMERK1,ElementName=TV}" 
                          INFO="经向紧度:" GotFocus="SD_GotFocus"
                            IsBTNInfo="False"
                           Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  /> 
                <CheckBox IsChecked="{Binding APFNEGMERK1,ElementName=TV,Converter={StaticResource bjn}}"/>  
            </WrapPanel>

            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFMERK11}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFMERK12}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFMERK13}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFMERK14}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFMERK15}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>

        </WrapPanel>
    </Grid>
</me:UIAPFOLGE>
